﻿@model Mondial2014.Controllers.StatsController.CitiesCompetitionViewModel

@{
    ViewBag.Title = "סטטיסטיקה";
}

<br/>
@Html.ActionLink("חזרה לבחירת סוג סטטיסטיקה", "Index")

@Model.CitiesChart

@foreach (var chart in Model.CityDistribution)
{
    @chart <br/>
}

<h2>קבוצות:</h2>

<table class="table">
    
    <tr>
        @foreach (var city in Model.CityToNames)
        {
            <th>
                @city.Key
            </th>
        }
    </tr>
    <tr>
        @foreach (var city in Model.CityToNames)
        {
            <td>
                @foreach (var name in city.Value)
                {
                    @name <br/>
                }
            </td>
        }
    </tr>

</table>



